package com.gxd.base.entity;

import java.io.Serializable;
import java.util.Date;

public class Role implements Serializable{
	
	private int roleId;
	private String roleCode;
	private String roleName;
	private String roleDesc;
	private String stateCode;
	private Date modifyDate;
	private String remark;
	private String rsrvStr1;
	private String rsrvStr2;
	
	
	/**************** 自定义新增字段（不存在于数据库中 **************************/
	private String modifyDateStr;
	private boolean userHaveRole;// 用户是否拥有该角色
	
	
	
	public boolean isUserHaveRole() {
		return userHaveRole;
	}
	public void setUserHaveRole(boolean userHaveRole) {
		this.userHaveRole = userHaveRole;
	}
	public String getModifyDateStr() {
		return modifyDateStr;
	}
	public void setModifyDateStr(String modifyDateStr) {
		this.modifyDateStr = modifyDateStr;
	}
	public int getRoleId() {
		return roleId;
	}
	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}
	public String getRoleCode() {
		return roleCode;
	}
	public void setRoleCode(String roleCode) {
		this.roleCode = roleCode;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getRoleDesc() {
		return roleDesc;
	}
	public void setRoleDesc(String roleDesc) {
		this.roleDesc = roleDesc;
	}
	public String getStateCode() {
		return stateCode;
	}
	public void setStateCode(String stateCode) {
		this.stateCode = stateCode;
	}
	public Date getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getRsrvStr1() {
		return rsrvStr1;
	}
	public void setRsrvStr1(String rsrvStr1) {
		this.rsrvStr1 = rsrvStr1;
	}
	public String getRsrvStr2() {
		return rsrvStr2;
	}
	public void setRsrvStr2(String rsrvStr2) {
		this.rsrvStr2 = rsrvStr2;
	}
}